package com.zyg.pojo;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
public class User {

    private int id;
    private String name;
    private String pass;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    private Dept dept;
    private Integer deptId;



}
